/* ================================================================
 This copyright notice must be untouched at all times.
 
 The original version of this stylesheet and the associated (x)html
 is available at http://www.cssplay.co.uk/menus/drop_examples.html
 Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
 This stylesheet and the assocaited (x)html may be modified in any
 way to fit your requirements.
 =================================================================== */
/* commom style for all browsers */
.menu4 {
    float: right;
    position: relative;
    width: auto;
    margin: 0 auto;
    height: 20px;
}

.menu4 ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.menu4 ul li {
    float: left;
    position: relative;
    z-index: 10000;
    margin-left: 1px;
    /*border-right:1px solid #aaa;*/
}

.menu4 ul li img {
    vertical-align: middle;
}

#rmenu {
    padding-top: 2px;
    margin-bottom: 3px;
}

.menu4 ul li a, .menu4 ul li a:visited {
    display: block;
    text-decoration: none;
    /*width: 70px;*/
    color: #000;
    /*   padding-left: 30px;*/
    padding: 6px;
}

.menu4 ul li a:hover {
    background: #eee;
}

.menu4 ul li a:hover * {
    color: #333;
}

.menu4 ul li ul a img {
    float: left;
    width: 16px;
}

.menu4 ul li ul a span {
    display: block;
    padding-left: 20px;
}

.menu4 ul li ul li {
    clear: both;
}
* html .menu4 ul li a, .menu4 ul li a:visited {
    /* width: 100px;*/
    /* w\idth:70px;*/
}

.menu4 ul li ul {
    visibility: hidden;
    position: absolute;
    padding-top: 2px;
    top: 0;
    height: 0;
    overflow: hidden;
}

/* fist line style for IE7 and non-IE browsers and the second line for IE5.5 and IE6 */
.menu4 ul li:hover a, .menu4 ul li a:hover {
    /* color: #c00;*/
    text-decoration: none;
    border: 0;
}

.menu4 ul li ul {
	left:0;
}

.menu4 ul li:hover ul, .menu4 ul li a:hover ul {
    visibility: visible; /*width:170px;*/
    height: auto;
    position: absolute;
    top: 25px;
   	
    /* background: #fff;*/
    /*border: 1px solid #ccc;*/
    overflow: visible;
}

.menu4 ul li:last-child ul{
	left:auto!important;
	right:-5px!important;
} 
 
.menu4 ul li:hover ul li a, .menu4 ul li a:hover ul li a {
    display: block;
    background: transparent;
    text-decoration: none;
    /* color: #c00;*/
    height: auto;
    line-height: 1.5em;
    width: 170px;
    w\idth:125px;
}
.menu4 ul li:hover ul li a.drop,
.menu4 ul li a:hover ul li a.drop {
display:block; color:#000; height:auto; line-height:1.5em;  width:170px; w\idth:125px;
}
.menu4 ul li:hover ul li ul,
.menu4 ul li a:hover ul li a ul {
visibility:hidden; position:absolute; top:0; right:0; height:0; overflow:hidden;
}
.menu4 ul li:hover ul li a:hover,
.menu4 ul li a:hover ul li a:hover {
	background:#eee;
}
.menu4 ul li:hover ul li:hover ul,
.menu4 ul li a:hover ul li a:hover ul {
visibility:visible; position:absolute; top:0; color:#000; left:166px; height:auto;
}
.menu4 ul li:hover ul li:hover ul.left,
.menu4 ul li a:hover ul li a:hover ul.left {
left:-166px;
}
.menu4 ul li:hover ul li:hover ul li a,
.menu4 ul li a:hover ul li a:hover ul li a {
display:block; color:#00f; height:auto; line-height:1.5em; width:170px; w\idth:140px;
}
* html .menu4 ul li a:hover ul li a:hover ul li a {padding:4px 10px 4px 35px;}

.menu4 ul li:hover ul li:hover ul li:hover a,
.menu4 ul li a:hover ul li a:hover ul li a:hover {
color:#000; text-decoration:underline;
}
